<?php
/*    This file is part of OpenSOZLUK.

    OpenSOZLUK is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    OpenSOZLUK is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with OpenSOZLUK.  If not, see <http://www.gnu.org/licenses/>.

    OpenSOZLUK Açık Kaynak Sözlük Projesi.
    Copyright (C) OpenSOZLUK 2009 - 20XX
    For more information: <aranel@aranelsurion.org>
*/
if (!file_exists("config.php")){ die ("ERROR - Configuration file (config.php) could not be read. If you did not create this file yet,
you should use example.config.php for setup."); }
include ("config.php");
/* TODO Şablon sistemiyle çalışmalı, bu hardcode en yakın sürede kaldırılacak. */
if (!file_exists("$dir_templates/default/template.php")){ die ("ERROR - Template file (template.php) could not be read. Possible causes: <ul><li>This  template is broken, choose another template or revert back to the default template.</li><li>Your template folder is misconfigured. Please edit config.php.</li></ul>"); }
include ("$dir_templates/default/template.php");
?>